package com.client.service.data;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.shared.data.IData;
import com.shared.data.TypeIData;

public interface DataServiceAsync {

	void getData(AsyncCallback<List> callback) throws IllegalArgumentException;	
	void saveData(IData data, AsyncCallback<String> callback) throws IllegalArgumentException;
	void updateData(TypeIData typeData, IData data,AsyncCallback<String> callback) throws IllegalArgumentException;
	void deleteData(TypeIData typeData, IData data,AsyncCallback<String> callback) throws IllegalArgumentException;
	
	

}
